package com.hk.service.kyc;

import java.util.List;

import com.hk.commons.HqlFilter;
import com.hk.commons.entity.Suggestion;

public interface ISuggestion {
	
	public Suggestion findById(Long id);

	/**
	 * 保存
	 * 
	 * @param b
	 * @return
	 */
	public Long add(Suggestion u);

	/**
	 * 删除
	 * 
	 * @param id
	 * @return
	 */
	public void delete(Suggestion u);

	/**
	 * 更新
	 * 
	 * @param b
	 */
	public void update(Suggestion u);

	public List<Suggestion> findByFilter(HqlFilter hqlFilter, int pageNum,
			int pageSize);

	public List<Suggestion> findByFilter(HqlFilter hqlFilter);

	public Long countByFilter(HqlFilter hqlFilter);
	
}
